package com.example.player.domain.entity;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

import lombok.Data;

/**
 * 歌单歌曲关联类
 * @author 朱文权
 * */

@Entity(tableName = "song_list_rela")
public class SongListRela {
    @PrimaryKey(autoGenerate = true)
    private Long id;
    /**
     * 歌单主键
     * */
    private Long pid;
    /**
     * 歌曲主键
     * */
    private  Long sid;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Long getSid() {
        return sid;
    }

    public void setSid(Long sid) {
        this.sid = sid;
    }
}
